<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
    	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>商家列表</title>
		<link href="${pageContext.request.contextPath }/css/bootstrap.min.css" rel="stylesheet">
	</head>
	<body>
		<div class="row">
			<div class="col-md-12">
				<div class="panel panel-default">
					<div class="panel-heading">商家列表</div>
					<div class="panel-body">
						<table class="table table-striped table-hover table-bordered">
							<thead>
								<tr>
									<th>#</th>
									<th>商家名称</th>
									<td>信用度</td>
									<td>联系地址</td>
									<td>联系电话</td>
									<td>创店时间</td>
									<td>编辑</td>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>1</td>
									<td><s:property value="model.sname"/></td>
									<td>
										<s:iterator begin="1" end="model.star">
										<span class="glyphicon glyphicon-star"></span>
										</s:iterator>
									</td>
									<td><s:property value="model.address"/></td>
									<td><s:property value="model.phone"/></td>
									<td><s:date name="model.sdate" format="yyyy-MM-dd"/></td>
									<td>
										<a href="${pageContext.request.contextPath }/adminSeller_edit.action"><span class="glyphicon glyphicon-pencil"></span></a>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>